<?php

class User_model extends CI_Model {
	
	function is_logged_in() {
		$logged_in = $this->session->userdata('logged_in');
		if(!isset($logged_in) || $logged_in != TRUE) {
			return FALSE;
		}
		else {
			return TRUE;
		}
	}
}